package com.example.demo.common;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 张
 * Date: 2024-08-21
 * Time: 21:12
 */

import lombok.Data;

/**
 * 表示一个网络通信中的请求对象,按照自定义协议的格式来展开
 */
@Data
public class Request {
    private int type;
    private int length;
    private byte[] payload;
}
